package com.wyw.hemerocallis.stream.wyw;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

/**
 * 自定义输入信道
 *
 * @author Mr Wu    yewen.wu.china@gmail.com
 * <p>
 * Update History:
 * Author        Time            Content
 */
public interface WywSink {
    String INPUT = "wywInput";

    /**
     * 输入信道的名称是wywInput， 需要使用Stream绑定器在yml文件中配置
     * @return
     */
    @Input(WywSink.INPUT)
    SubscribableChannel wywInput();
}
